
import 'package:flutter/material.dart';

class SukietDarkTheme {
  static const Color lightColor = Color.fromARGB(255, 0, 147, 239);
  static const Color veryLightColor = Color.fromARGB(255, 36, 215, 255);
  static const Color heavyColor = Color.fromARGB(255, 194, 21, 255);
  static const Color heavyColor2 = Color.fromARGB(255, 140, 79, 230);

  static const Color textColor = Color.fromARGB(205, 255, 255, 255);
  static const Color subTextColor = Color.fromARGB(147, 255, 255, 255);
  static const Color cardBackgroundColor = Color.fromARGB(255, 64, 64, 64);

  static const Color cardBorderColor = Color.fromARGB(255, 128, 128, 128);

  static const TextStyle textStyle = TextStyle(
    color: SukietDarkTheme.textColor,
    fontSize: 16,
  );

  static const TextStyle midTextStyle = TextStyle(
    color: SukietDarkTheme.textColor,
    fontSize: 14,
  );

  static const TextStyle subTextStyle = TextStyle(
    color: SukietDarkTheme.subTextColor,
    fontSize: 12,
  );

  static BoxDecoration cardDecoration = BoxDecoration(
    borderRadius: BorderRadius.circular(
        SukietDarkTheme.defaultBorderRadius
    ),
    color: SukietDarkTheme.cardBackgroundColor,
    boxShadow: const [BoxShadow(
      color: Color.fromARGB(223, 28, 28, 28),
      blurRadius: 16,
    )],

    border: Border.all(
      color: cardBorderColor, // 边框颜色
      width: 1, // 边框宽度
    ),

  );

  static BoxDecoration cardDecorationWithoutShadow = BoxDecoration(
    borderRadius: BorderRadius.circular(
        SukietDarkTheme.defaultBorderRadius
    ),
    color: SukietDarkTheme.cardBackgroundColor,
    border: Border.all(
      color: cardBorderColor, // 边框颜色
      width: 1, // 边框宽度
    ),

  );

  static BoxDecoration magnetDecoration = BoxDecoration(
    borderRadius: BorderRadius.circular(8),
    color: SukietDarkTheme.cardBackgroundColor,
    boxShadow: const [BoxShadow(
      color: Color.fromARGB(223, 28, 28, 28),
      blurRadius: 2,
    )],

    border: Border.all(
      color: const Color.fromARGB(58, 255, 255, 255), // 边框颜色
      width: 1, // 边框宽度
    ),

  );

  static BoxDecoration magnetDecorationWithoutShadow = BoxDecoration(
    borderRadius: BorderRadius.circular(8),
    color: SukietDarkTheme.cardBackgroundColor,
    border: Border.all(
      color: const Color.fromARGB(58, 255, 255, 255), // 边框颜色
      width: 1, // 边框宽度
    ),

  );

  static const double defaultBorderRadius = 16;
}

class SukietLightTheme {
  static const Color lightColor = Color.fromARGB(255, 199, 99, 101);
  static const Color heavyColor = Color.fromARGB(255, 216, 153, 110);
}

